package com.quanyan.ic.vendingMachine.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by zhuo.shi on 2017/7/26.
 * 售货机类别规格信息
 */
public class VmCategory implements Serializable {

    private Integer id;                     //类型id
    private String name;                    //类型名称
    private List<Integer> gridXY;           //货道规格，[10,10,10,10,10,10] xy 方向，数组下标表示x(行)，值表示y(列)
    private List<Integer> gridZ;            //货道规格 [10, 10, ...] z方向，数组下标表示货道序号，数组值表示深度
    private Byte gridStartNumber;        //货道编号开始数字，每种售货机的货道编号开始的数字可能不一样，比如10-70
    private Image img;
    private Boolean isEnable;               //是否启用，如果不启用，在售货机类型列表里面不显示

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Integer> getGridXY() {
        return gridXY;
    }

    public void setGridXY(List<Integer> gridXY) {
        this.gridXY = gridXY;
    }

    public List<Integer> getGridZ() {
        return gridZ;
    }

    public void setGridZ(List<Integer> gridZ) {
        this.gridZ = gridZ;
    }

    public Byte getGridStartNumber() {
        return gridStartNumber;
    }

    public void setGridStartNumber(Byte gridStartNumber) {
        this.gridStartNumber = gridStartNumber;
    }

    public Image getImg() {
        return img;
    }

    public void setImg(Image img) {
        this.img = img;
    }

    public Boolean getEnable() {
        return isEnable;
    }

    public void setEnable(Boolean enable) {
        isEnable = enable;
    }
}
